﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Clarius.Silverlight.Streaming.Library
{
    public class Account
    {
        String id;
        String key;
        String serviceRoot;
        const String DEFAULT_SERVICEROOT = "https://silverlight.services.live.com";

        public Account(String accountId, String accountKey)
            : this(accountId, accountKey, DEFAULT_SERVICEROOT)
        {
        }

        public Account(String accountId, String accountKey, String serviceRoot)
        {
            this.id = accountId;
            this.key = accountKey;
            this.serviceRoot = serviceRoot;
        }

        public String Id
        {
            get { return id; }
        }

        public String Key
        {
            get { return key; }
        }

        public String ServiceRoot
        {
            get { return serviceRoot; }
        }
    }
}
